<h2 class="title">自购物资</h2>
<form action="index.php" method="GET">
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">自购单号</td>
	<td class="tr_td_width03"><input type="text" class="input_select_stand txt-normal" name="materials_no" value="{%$smarty.get.materials_no%}"/></td>
	<td  class="tr_td_width02 alignright">申报人</td>
	<td>
	<select name="admin_user_id" class="select_select txt-normal" >
		<option value="0">请选择</option>
		{%html_options options=$admin_info selected=$smarty.get.admin_user_id %}
	</select>
	<input type="hidden" name="c" value="{%$smarty.get.c%}">
	</td>
</tr>
</table>
<p class="btn_right">
	<button class="b-default" type="submit" hidefocus="true"><span><em>查询</em></span></button>
	<button class="b-default" type="button" hidefocus="true" onclick="window.location.href='index.php?c=zy_materials_from&m=add'"><span><em>添加</em></span></button>
</p>
</form>
<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">自购单号</td>
	<td class="list_td_zw_04">预算金额</td>
	<td class="list_td_zw_04">实际金额</td>
	<td class="list_td_zw_04">经办人</td>
	<td class="list_date">经办日期</td>
	<td>备注</td>
	<td class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td>{%$arr_item.materials_no%}</td>
	<td>{%$arr_item.budget_amount%}</td>
	<td>{%$arr_item.actual_amount%}</td>
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
	<td>{%$arr_item.materials_time|date_format:"%Y-%m-%d"%}</td>
	<td class="alignleft" title="{%$arr_item.materials_info%}">{%cut_str str=$arr_item.materials_info sublen=15%}</td>
	<td>
		<a href='index.php?c=zy_materials_from&m=browse&materials_from_id={%$arr_item.materials_from_id%}'>详细</a>&nbsp;
		<a href='index.php?c=zy_materials_from&m=edit&materials_from_id={%$arr_item.materials_from_id%}'>修改</a>
		<!--<a href='index.php?c=zy_materials_from_list&m=add&materials_from_id={%$arr_item.materials_from_id%}'>添加记录</a>&nbsp;&nbsp;
		<a href='index.php?c=zy_materials_from&m=del&materials_from_id={%$arr_item.materials_from_id%}' onclick="return confirm('您确认删除吗？');">删除</a>-->
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="7">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}